]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoworkspace: make WindowClone forward the 'size-changed' event
Maxim Ermilov [Sun, 30 Jan 2011 22:03:12 +0000 (01:03 +0300)]
workspace: make WindowClone forward the 'size-changed' event

https://bugzilla.gnome.org/show_bug.cgi?id=640781

15 years agoworkspacesView: dispose _scrollAdjustment in _onDestroy
Maxim Ermilov [Fri, 28 Jan 2011 02:41:57 +0000 (05:41 +0300)]
workspacesView: dispose _scrollAdjustment in _onDestroy

https://bugzilla.gnome.org/show_bug.cgi?id=640781

15 years agoworkspacesView: remove duplicate connection to same signal
Maxim Ermilov [Thu, 27 Jan 2011 23:24:38 +0000 (02:24 +0300)]
workspacesView: remove duplicate connection to same signal

15 years agoGroup chat sources on the left in the message tray
Hellyna Ng [Thu, 30 Dec 2010 21:09:56 +0000 (05:09 +0800)]
Group chat sources on the left in the message tray

This will make it easier for users to get back to their chats.

https://bugzilla.gnome.org/show_bug.cgi?id=617234

15 years agoEnables navigation using arrow keys in notifications with buttons.
Hellyna Ng [Thu, 20 Jan 2011 05:16:47 +0000 (13:16 +0800)]
Enables navigation using arrow keys in notifications with buttons.

Users can now use the keyboard and mouse to navigate with buttons
interchangeably, instead of entirely using only mouse.

https://bugzilla.gnome.org/show_bug.cgi?id=630937

15 years agoBump version to 2.91.6
Owen W. Taylor [Tue, 1 Feb 2011 19:08:29 +0000 (14:08 -0500)]
Bump version to 2.91.6

15 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Tue, 1 Feb 2011 17:35:37 +0000 (19:35 +0200)]
[l10n] Updated Estonian translation

15 years agoBuild: Correct version numbers for eds-3.0/1.2
Florian Müllner [Tue, 1 Feb 2011 15:34:53 +0000 (16:34 +0100)]
Build: Correct version numbers for eds-3.0/1.2

The respective version numbers got swapped in commit 703092f.

15 years agomain.js: fix variable naming style for css_stylesheet
Owen W. Taylor [Tue, 1 Feb 2011 15:11:00 +0000 (10:11 -0500)]
main.js: fix variable naming style for css_stylesheet

Change css_stylesheet to cssStylesheet in various places.

15 years agoBetter API for extensions changing CSS
Sardem FF7 [Tue, 1 Feb 2011 14:44:15 +0000 (15:44 +0100)]
Better API for extensions changing CSS

Rename the setter to reflect the fact that it's the stylesheet which is
changing

Add a getter to allow some useful checks

15 years agobuild: Default to libedataserverui-3.0 instead of 1.2
Florian Müllner [Mon, 31 Jan 2011 21:54:34 +0000 (22:54 +0100)]
build: Default to libedataserverui-3.0 instead of 1.2

The official GNOME moduleset builds evolution and e-d-s against
GTK+-3, so libedataserverui-1.2 is no longer part of the release.
As GNOME Shell can actually be build with either version, prefer
libedataserverui-3.0 if it is available and allow falling back
to 1.2. if it isn't.

https://bugzilla.gnome.org/show_bug.cgi?id=641085

15 years agoAdd an alternate bubble arrow drawing
Sardem FF7 [Fri, 28 Jan 2011 08:19:54 +0000 (09:19 +0100)]
Add an alternate bubble arrow drawing

When the bubble is near the screen border, draw a half arrow at the
corner of the bubble.

https://bugzilla.gnome.org/show_bug.cgi?id=639979

15 years agotray: Fix handling of SYSTEM_TRAY_CANCEL_MESSAGE
Vincent Untz [Tue, 1 Feb 2011 11:13:47 +0000 (12:13 +0100)]
tray: Fix handling of SYSTEM_TRAY_CANCEL_MESSAGE

We were not looking at the right field for the message ID: the ID is in
the 4th field for BEGIN_MESSAGE, but 2nd field for CANCEL_MESSAGE.

15 years agotray: Stop using gdk_display_add_client_message_filter()
Vincent Untz [Tue, 1 Feb 2011 11:13:12 +0000 (12:13 +0100)]
tray: Stop using gdk_display_add_client_message_filter()

It just got removed in GTK+ 3, and we actually don't need it since we
look for ClientMessage in na_tray_manager_window_filter() anyway.

15 years agoUpdating Galician translations
Fran Diéguez [Tue, 1 Feb 2011 01:45:13 +0000 (02:45 +0100)]
Updating Galician translations

15 years agocalendar: Fix grid non-US week layouts
David Zeuthen [Mon, 31 Jan 2011 20:53:56 +0000 (15:53 -0500)]
calendar: Fix grid non-US week layouts

http://people.freedesktop.org/~david/calendar-grid-non-US-locale-collapse-bug.png

This was discovered when working on bug 641049:

 https://bugzilla.gnome.org/show_bug.cgi?id=641049

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agocalendar: Fix event list for week starts other than Sunday
Florian Müllner [Sat, 29 Jan 2011 02:09:47 +0000 (03:09 +0100)]
calendar: Fix event list for week starts other than Sunday

In non-US locales, Monday is generally considered the first day
of the week. Take this into account when building the event
lists displayed under "This week"/"Next week".

https://bugzilla.gnome.org/show_bug.cgi?id=641049

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agocalendar: Fix prev/next buttons to not skip months
Adel Gadllah [Mon, 31 Jan 2011 20:00:16 +0000 (21:00 +0100)]
calendar: Fix prev/next buttons to not skip months

When the current day does not exist in the next/prev month (like 31 Feb),
the next/prev buttons end up skipping the month.

Fix that by going to the last day of the month instead.

https://bugzilla.gnome.org/show_bug.cgi?id=641067

15 years agoCalendar: Fix UTC/local mixup
Florian Müllner [Mon, 31 Jan 2011 16:49:02 +0000 (11:49 -0500)]
Calendar: Fix UTC/local mixup

See https://bugzilla.gnome.org/show_bug.cgi?id=632109#c56

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoCalendar: Implement new mockup
David Zeuthen [Fri, 28 Jan 2011 21:35:46 +0000 (16:35 -0500)]
Calendar: Implement new mockup

https://bugzilla.gnome.org/show_bug.cgi?id=632109

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agobuild: Remove gtk-theme-engine-clearlooks
Florian Müllner [Sat, 29 Jan 2011 00:17:01 +0000 (01:17 +0100)]
build: Remove gtk-theme-engine-clearlooks

The default engine is now Adwaita in gnome-themes-standard, so
remove it from the moduleset. It has already been removed from the
gnome-suites-core-3.0 set.

15 years agoMake sure we only emit 'destroy' for a notification once
Marina Zhurakhinskaya [Sun, 30 Jan 2011 23:33:49 +0000 (18:33 -0500)]
Make sure we only emit 'destroy' for a notification once

There are multiple code passes that can result in Notification::destroy()
being called, such as a notification being closed by the application
when it exits and the associated source being removed at the same time.
However, we should only emit 'destroy' for the notification and
do the associated work once.

15 years agoAvoid passing 'source' as an argument to Notification::destroy()
Marina Zhurakhinskaya [Sun, 30 Jan 2011 23:08:20 +0000 (18:08 -0500)]
Avoid passing 'source' as an argument to Notification::destroy()

Notification::destroy() now takes 'reason' as an optional argument.
Calling Notification::destroy() directly when connecting to 'destroy'
on Source, as we did before, was inadvertently passing 'source' as an
argument to the function.

https://bugzilla.gnome.org/show_bug.cgi?id=640976

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 30 Jan 2011 21:04:00 +0000 (23:04 +0200)]
Updated Hebrew translation.

15 years agoAdd an API to allow extension to set a theme
Sardem FF7 [Tue, 11 Jan 2011 11:15:26 +0000 (12:15 +0100)]
Add an API to allow extension to set a theme

Add a setTheme function to Main that allows to set a CSS stylesheet
which overrides the GNOME Shell default one

https://bugzilla.gnome.org/show_bug.cgi?id=630428

15 years agoappSwitcher: Use shorter icon hover timeout
Adel Gadllah [Sun, 30 Jan 2011 19:21:16 +0000 (20:21 +0100)]
appSwitcher: Use shorter icon hover timeout

Using a timeout of 750ms seems to be too long,
a shorter one like 200ms still solves the original problem
without getting in the way of other uses.

15 years agoInclude new GTK+ header for X11 extensions
Jonathan Strander [Sun, 30 Jan 2011 18:28:06 +0000 (12:28 -0600)]
Include new GTK+ header for X11 extensions

Due to recent GTK+ changes X11 specific code was moved into different
headers. As Socket/Plug is X11 only this broke our calls to GtkSocket
in the tray code. Fix this by including the new gtkx.h header.

15 years agoRevert "KeyboardStatus: handle modifier key indicators"
Florian Müllner [Fri, 28 Jan 2011 22:51:04 +0000 (23:51 +0100)]
Revert "KeyboardStatus: handle modifier key indicators"

The 'show-keyboard-leds-indicator' key has been removed from
the schema.

This reverts commit 20f49e8c8917bff0d6e17ba6218fcbaec3b016e9.

15 years agoUpdated Italian translation
Luca Ferretti [Sat, 29 Jan 2011 15:07:10 +0000 (16:07 +0100)]
Updated Italian translation

15 years agoupdate Punjabi Translation by A S Alam
A S Alam [Sat, 29 Jan 2011 02:12:22 +0000 (07:42 +0530)]
update Punjabi Translation by A S Alam

15 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 28 Jan 2011 18:50:02 +0000 (19:50 +0100)]
Updated Spanish translation

15 years agoAdd a missing colon
Marina Zhurakhinskaya [Fri, 28 Jan 2011 18:31:16 +0000 (13:31 -0500)]
Add a missing colon

Fixes a syntax error.

15 years agoEmit NotificationClosed for a notification iff we destroy it
Marina Zhurakhinskaya [Thu, 27 Jan 2011 23:26:53 +0000 (18:26 -0500)]
Emit NotificationClosed for a notification iff we destroy it

This fixes emitting NotificationClosed for resident notifications
that are clicked, but are not actually destroyed.

This also ensures that we emit NotificationClosed in all cases when
a notification is destroyed, which can happen when:
- a non-resident notification is clicked
- an action is invoked on a non-resident notification
- an application the notification was associated with is focused
- a transient notification is done showing
- a notification was requested to be closed by the application
- a tray icon the notification was associated with is removed

https://bugzilla.gnome.org/show_bug.cgi?id=638071

15 years agoMark lock indicator icons as keyboard ones
Bastien Nocera [Fri, 28 Jan 2011 01:30:45 +0000 (01:30 +0000)]
Mark lock indicator icons as keyboard ones

Those 3 possible status icons from gnome-settings-daemon should
not be showing up in gnome-shell, as they already have native versions.

15 years agoPrevent a11y-kdb status icon from showing
Bastien Nocera [Fri, 28 Jan 2011 01:25:45 +0000 (01:25 +0000)]
Prevent a11y-kdb status icon from showing

15 years agognome-settings-daemon's xrandr icon went away
Bastien Nocera [Fri, 28 Jan 2011 01:09:37 +0000 (01:09 +0000)]
gnome-settings-daemon's xrandr icon went away

There's no xrandr icon in gnome-settings-daemon any more.

15 years agorun-dialog: Center error message vertically
Florian Müllner [Thu, 27 Jan 2011 20:56:12 +0000 (21:56 +0100)]
run-dialog: Center error message vertically

Commit 912a30c56 left error message and icon aligned to the top,
but it looks better when the message is centered vertically.

15 years agoClean up the presentation of errors in the run dialog
William Jon McCann [Thu, 27 Jan 2011 20:26:58 +0000 (15:26 -0500)]
Clean up the presentation of errors in the run dialog

Removes redundant text, better icon, and shows are better error when
a command isn't found than "No such file or directory".

15 years agodesktop-file: Remove "Utility" from categories
Florian Müllner [Thu, 27 Jan 2011 07:45:48 +0000 (08:45 +0100)]
desktop-file: Remove "Utility" from categories

GNOME Shell is a core component of the desktop rather than a
utility, so adjust the desktop file to reflect that.

https://bugzilla.gnome.org/show_bug.cgi?id=640688

15 years agoQA of Galician translations
Fran Diéguez [Thu, 27 Jan 2011 02:33:29 +0000 (03:33 +0100)]
QA of Galician translations

15 years agoBump required clutter version to 1.5.15
Adel Gadllah [Wed, 26 Jan 2011 19:44:32 +0000 (20:44 +0100)]
Bump required clutter version to 1.5.15

This is required for Clutter.BindCoordinate.POSITION

15 years agoXDND: Use only one constraint for the cursor window position
Adel Gadllah [Wed, 26 Jan 2011 19:38:22 +0000 (20:38 +0100)]
XDND: Use only one constraint for the cursor window position

ClutterBindConstraint now supports POSITION, so use that instead
of separate X and Y constraints.

15 years agoUnselect search button if there is search result
Maxim Ermilov [Mon, 24 Jan 2011 23:38:16 +0000 (02:38 +0300)]
Unselect search button if there is search result

https://bugzilla.gnome.org/show_bug.cgi?id=640464

15 years agoOverview: Adjust to window size changes
Florian Müllner [Tue, 25 Jan 2011 18:12:03 +0000 (19:12 +0100)]
Overview: Adjust to window size changes

Windows may change their size while the overview is open, e.g. when
switching panels in the control center. Make sure that the preview's
position and overlay are updated in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=640560

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 25 Jan 2011 19:47:57 +0000 (20:47 +0100)]
Updated Norwegian bokmål translation.

15 years ago[l10n] Updated Estonian translation
Ivar Smolin [Tue, 25 Jan 2011 18:40:35 +0000 (20:40 +0200)]
[l10n] Updated Estonian translation

15 years agogs-menu: Do not exclude "Core" category
Florian Müllner [Tue, 25 Jan 2011 17:21:36 +0000 (18:21 +0100)]
gs-menu: Do not exclude "Core" category

With the current rule set, we exclude applications in the "Core"
category - this includes Nautilus, which we want to show up at
least until "Finding and Reminding" is implemented, so remove
the exclude rule for now.

15 years agoappSwitcher: Make sure we don't leave a stale timeout handler
Adel Gadllah [Tue, 25 Jan 2011 14:30:19 +0000 (15:30 +0100)]
appSwitcher: Make sure we don't leave a stale timeout handler

15 years agoswipe-scrolling: Take threshold into account during drag
Florian Müllner [Mon, 24 Jan 2011 22:15:33 +0000 (23:15 +0100)]
swipe-scrolling: Take threshold into account during drag

On button-release, a threshold is used to determine if the gesture
should be considered a click and thus ignored. While the drag is
active though, the controlled actor is dragged immediately. As a
result, dragging by a tiny amount does not trigger a snap back when
the action is interpreted as a click. As a fix, do not update the
dragged actor's position until the same threshold is passed.

https://bugzilla.gnome.org/show_bug.cgi?id=640494

15 years agoswipe-scroll: Don't eat button-release events on click
Florian Müllner [Mon, 24 Jan 2011 21:31:10 +0000 (22:31 +0100)]
swipe-scroll: Don't eat button-release events on click

The main overview group starts capturing events on button-press
events to implement swipe-scrolling. While reactive children of
the group which handle both button-press and button-release events
don't trigger swipe-scrolling, children that only rely on
button-release have stopped working - at least the primary/secondary
icons of the search entry are affected. While the capture handler
already checks the pointer movement between press and release to
determine whether the action should be considered a click rather
than a drag, it still blocks the release event from propagating.
Instead, only block release events for drag actions, but not for
clicks.

https://bugzilla.gnome.org/show_bug.cgi?id=640493

15 years agoModifying Colin Walters UID. (cwalters to walters) into gnome-shell.doap.
Andrea Veri [Mon, 24 Jan 2011 23:06:58 +0000 (00:06 +0100)]
Modifying Colin Walters UID. (cwalters to walters) into gnome-shell.doap.
This was causing some 'no route to host' mail sent to RT. AndreaVeri on
behalf of the AccountsTeam

15 years agorecorder: Call cairo_surface_mark_dirty on the cursor surface
Adel Gadllah [Mon, 24 Jan 2011 21:56:23 +0000 (22:56 +0100)]
recorder: Call cairo_surface_mark_dirty on the cursor surface

Cairo surfaces have to be marked dirty after directly accessing
them.

This fixes the problem of the cursor not being in the recordings.

15 years agoview-selector: Prelight view titles on hover
Florian Müllner [Wed, 8 Dec 2010 00:47:41 +0000 (01:47 +0100)]
view-selector: Prelight view titles on hover

The titles are clickable, indicate this to the user by prelighting
them on hover.

15 years agoshell-app-usage: fix tracking code
Dan Winship [Mon, 24 Jan 2011 18:25:09 +0000 (13:25 -0500)]
shell-app-usage: fix tracking code

We were checking if the app was running, but then marking it as
recently-seen either way. Fix it to only update it when the app is
running.

https://bugzilla.gnome.org/show_bug.cgi?id=640447

15 years agoshell-doc-system: fix %-escaping code in shell_doc_system_open()
Dan Winship [Mon, 24 Jan 2011 17:30:34 +0000 (12:30 -0500)]
shell-doc-system: fix %-escaping code in shell_doc_system_open()

It was escaping app_exec into app_exec_quoted, but then forgot about
it and went back to using app_exec.

https://bugzilla.gnome.org/show_bug.cgi?id=640447

15 years agoRemove set-but-unused variables, to appease gcc 4.6
Dan Winship [Mon, 24 Jan 2011 17:41:23 +0000 (12:41 -0500)]
Remove set-but-unused variables, to appease gcc 4.6

https://bugzilla.gnome.org/show_bug.cgi?id=640447

15 years agoAppSwitcher: Delay activating appIcons when the thumbnail list is open
Adel Gadllah [Thu, 6 Jan 2011 19:21:27 +0000 (20:21 +0100)]
AppSwitcher: Delay activating appIcons when the thumbnail list is open

When aiming for the thumbnails with the mouse one might cross an
icon by accident which causes the thumbnail list to be closed, which is
frustrating.

Fix this by delaying the icon activation when the thumbnail list is
open.

https://bugzilla.gnome.org/show_bug.cgi?id=636650

15 years agoStThemeDrawing: clip background to border
Ray Strode [Fri, 10 Dec 2010 22:15:39 +0000 (17:15 -0500)]
StThemeDrawing: clip background to border

Previously, trying to use a background image and border on
the same node resulted in the background drawing over the border.

This commit adds support for background images to

st_theme_node_render_background_with_border

and changes the code to call that function when appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agost-private: add cairo code for drawing shadow
Ray Strode [Thu, 13 Jan 2011 00:45:28 +0000 (19:45 -0500)]
st-private: add cairo code for drawing shadow

This does the same thing as the cogl equivalent
code, but for handling fallbacks.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agost-private: split pixel blurring code out
Ray Strode [Thu, 13 Jan 2011 00:43:36 +0000 (19:43 -0500)]
st-private: split pixel blurring code out

The guts are somewhat complicated, and
are potentially reusable for future cairo
fallback code.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStTextureCache: add api to load image to cairo surface
Ray Strode [Fri, 10 Dec 2010 22:15:39 +0000 (17:15 -0500)]
StTextureCache: add api to load image to cairo surface

Loading a pixbuf in a way that cairo can use it is a
pretty involved process that involves a lot of code, and pixel
fiddling.

This commit adds the mechanism to StTextureCache so we can reuse
the existing pixbuf handling code there, and also get caching.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNodeDrawing: generalize render_gradient to render_background_with_border
Ray Strode [Sun, 12 Dec 2010 20:41:41 +0000 (15:41 -0500)]
StThemeNodeDrawing: generalize render_gradient to render_background_with_border

A lot of the border drawing logic in st_theme_node_render_gradient is
applicable to other non-solid background types than gradients.

This commit refactors that code so that support for other non-solid
background types can be more easily integrated later.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNodeDrawing: clip background image shadow to outline
Ray Strode [Sat, 22 Jan 2011 02:52:18 +0000 (21:52 -0500)]
StThemeNodeDrawing: clip background image shadow to outline

When drawing the background image shadow, we need to clip it
to the node's background color, gradient, or borders if present.

If the background color is transparent, and there aren't any
borders, then we don't clip the shadow since there is nothing
to confine it.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNodeDrawing: clip background image to node allocation
Ray Strode [Thu, 13 Jan 2011 22:46:59 +0000 (17:46 -0500)]
StThemeNodeDrawing: clip background image to node allocation

When drawing the background image, we need to make sure
we don't draw outside the bounding rectangle of the node.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNode: Don't make border images and gradients mutually exclusive
Ray Strode [Fri, 14 Jan 2011 19:03:40 +0000 (14:03 -0500)]
StThemeNode: Don't make border images and gradients mutually exclusive

Since we no longer use the same material for both purposes,
we can now remove the restriction that they are mutually exclusive.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNode: split border_texture into two vars
Ray Strode [Wed, 12 Jan 2011 22:07:19 +0000 (17:07 -0500)]
StThemeNode: split border_texture into two vars

The border_texture (and border_material) variable is being
overloaded for two purposes: it's used as a source
to 9-slice the border from, and it's used as place to prerender
the background and border together for gradients.

While we only do one or the other for any given node, the two cases
are distinct, and should use distinct variables for readability.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoStThemeNode: Split -st-shadow into three attributes
Ray Strode [Thu, 13 Jan 2011 23:27:24 +0000 (18:27 -0500)]
StThemeNode: Split -st-shadow into three attributes

Currently, "-st-shadow" can mean one of three very
different things:

1) shadow based on alpha of the background image
2) shadow the "border box" of the node
3) shadow applied to the content of a StIcon

It isn't well defined which of the above 3 cases
-st-shadow will mean for any given node, however.

This commit splits the property into three
different properties, "box-shadow",
"-st-background-image-shadow", and "icon-shadow"
to make it all very explicit.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agotests: showcase borders with non-solid backgrounds
Ray Strode [Wed, 5 Jan 2011 15:08:50 +0000 (10:08 -0500)]
tests: showcase borders with non-solid backgrounds

This commit adds a few more examples to borders.js
that render borders with various combinations of
gradients, background images, shadows, and
border-images.

https://bugzilla.gnome.org/show_bug.cgi?id=636976

15 years agoSt: Use clutter_actor_get_request_mode
Adel Gadllah [Sun, 23 Jan 2011 14:20:43 +0000 (15:20 +0100)]
St: Use clutter_actor_get_request_mode

Use clutter_actor_get_request_mode rather than g_object_get
since we have it in the required clutter version.

https://bugzilla.gnome.org/show_bug.cgi?id=640415

15 years agosearch-display: Enable swipe scrolling
Florian Müllner [Fri, 21 Jan 2011 22:49:03 +0000 (23:49 +0100)]
search-display: Enable swipe scrolling

If a search gives many results from various providers, the result
area will be scrollable, so enable swipe-scrolling here as well.

https://bugzilla.gnome.org/show_bug.cgi?id=635034

15 years agoapp-display: Enable swipe-scrolling in the app view
Florian Müllner [Fri, 21 Jan 2011 18:50:25 +0000 (19:50 +0100)]
app-display: Enable swipe-scrolling in the app view

With general support for swipe-scrolling in the overview, there is
no reason to limit the behavior to workspaces. It is equally useful
for scrolling through the grid of available applications, so enable
swipe-scrolling for the app view.

https://bugzilla.gnome.org/show_bug.cgi?id=635034

15 years agoworkspaces-view: Use overview swipe-scrolling
Florian Müllner [Fri, 21 Jan 2011 18:47:54 +0000 (19:47 +0100)]
workspaces-view: Use overview swipe-scrolling

Remove the swipe-scrolling implementation in WorkspacesView and
use the new overview facility.

https://bugzilla.gnome.org/show_bug.cgi?id=635034

15 years agooverview: Add a facility for swipe-scrolling
Florian Müllner [Fri, 21 Jan 2011 13:08:42 +0000 (14:08 +0100)]
overview: Add a facility for swipe-scrolling

The workspaces view allows to drag the active workspace to swipe-scroll
to the next or previous workspace. While this behavior can come in handy
in general, there are good reasons to move the functionality to the
overview:

 - Finding a spot on a workspace to start a drag can be hard,
   especially when the workspace contains a single window
 - With the new layout, workspaces have no visible border, making
   it hard to predict where a drag can be initiated
 - The same behavior is equally useful for other elements

So add setScrollAdjustment() to the overview, which allows setting
an adjustment controlled with swipe-scrolling (either horizontally
or vertically); only a single adjustment can be controlled at a
time. A swipe-scroll can be initiated on any part of the background that
is not occupied by a reactive actor. For cases where further control
is needed, 'swipe-scroll-start' and 'swipe-scroll-end' signals are
emitted.

https://bugzilla.gnome.org/show_bug.cgi?id=635034

15 years agoUpdated Arabic translation
Khaled Hosny [Sun, 23 Jan 2011 11:29:55 +0000 (13:29 +0200)]
Updated Arabic translation

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 23 Jan 2011 00:43:13 +0000 (02:43 +0200)]
Updated Hebrew translation.

15 years agoUpdated Spanish translation
Jorge González [Sat, 22 Jan 2011 15:41:46 +0000 (16:41 +0100)]
Updated Spanish translation

15 years agorecorder: Switch to webm
Adel Gadllah [Fri, 21 Jan 2011 18:33:11 +0000 (19:33 +0100)]
recorder: Switch to webm

The vp8 codec provides better performance in pretty much all cases compared
to theora while still being free (as in not patent encumbered).

Also add a %T placeholder to the pipeline string which will be replaced
with the a thread count based on the target system.

https://bugzilla.gnome.org/show_bug.cgi?id=632595

15 years agoKeyboardStatus: handle modifier key indicators
Giovanni Campagna [Wed, 12 Jan 2011 15:00:54 +0000 (16:00 +0100)]
KeyboardStatus: handle modifier key indicators

Introduce a generic framework for on/off indicators that are shown
in the panel, next to the system status area, and use it for
showing the status of modifier keys.

https://bugzilla.gnome.org/show_bug.cgi?id=600771

15 years agorecorder: Force full stage redraws during recording
Adel Gadllah [Fri, 21 Jan 2011 17:55:00 +0000 (18:55 +0100)]
recorder: Force full stage redraws during recording

Partial redraws can result into artifacts in the recording,
so disable them while recording.

https://bugzilla.gnome.org/show_bug.cgi?id=640206

15 years agoUpdated Italian translation
Luca Ferretti [Fri, 21 Jan 2011 00:18:36 +0000 (01:18 +0100)]
Updated Italian translation

15 years agost: Report correct paint volumes during transitions
Florian Müllner [Thu, 20 Jan 2011 20:15:05 +0000 (21:15 +0100)]
st: Report correct paint volumes during transitions

StWidget reports a paint volume large enough to paint the current
theme node. As CSS transitions also paint the previous theme node,
the reported paint volume may be incorrect, resulting in screen
artifacts when painting outside the reported volume.

Add st_theme_node_transition_get_paint_box() to calculate an allocation
large enough to paint both theme nodes, and use it to report the correct
paint volume during transitions.

https://bugzilla.gnome.org/show_bug.cgi?id=640085

15 years agoStScrollView: Implement real fade effect
Adel Gadllah [Thu, 20 Jan 2011 19:25:21 +0000 (20:25 +0100)]
StScrollView: Implement real fade effect

Implement an edge fade effect (top/bottom) using a
ClutterOffscreenEffect subclass, replacing the former
shadow hack.

https://bugzilla.gnome.org/show_bug.cgi?id=639460

15 years agooverview: Always return a value in _onDragMotion()
Florian Müllner [Thu, 20 Jan 2011 15:46:55 +0000 (16:46 +0100)]
overview: Always return a value in _onDragMotion()

Drag monitor functions are supposed to return a value, but
_onDragMotion() does not always do so. Add the missing return
value and remove unnecessary else.

15 years agoopen-search-system: Remove unused parameter
Florian Müllner [Thu, 20 Jan 2011 13:20:53 +0000 (14:20 +0100)]
open-search-system: Remove unused parameter

Remove the 'title' parameter from the OpenSearchSystem constructor,
as the prototype's _init() method does not use it.

15 years agoenvironment: Fix runtime crash due to GTK+ change
Florian Müllner [Thu, 20 Jan 2011 14:42:46 +0000 (15:42 +0100)]
environment: Fix runtime crash due to GTK+ change

As Gdk.Device.get_state() does not work properly from Javascript,
we used to block it in the environment. The method now has been
annotated with (skip), causing shell to crash on startup as only
existing methods may be blocked.
Just remove the block in question, as the annotation prevents the
use of that method anyway.

15 years agoAdding StLabel a11y support
Alejandro Piñeiro [Thu, 20 Jan 2011 12:02:14 +0000 (13:02 +0100)]
Adding StLabel a11y support

Right now is just redefine atk_object_get_name.

If someone wonders why not implement AtkText interface, or expose the
internal ClutterText, here a extract from AtkText doc:

"AtkText should be implemented by AtkObjects on behalf of widgets that
have text content which is either attributed or otherwise
non-trivial. AtkObjects whose text content is simple, unattributed,
and very brief may expose that content via atk_object_get_name
instead;"

StLabel is attributed, but is still simple and brief. In the same way
the atk_object_get_name redefinition is required, so this patch is the
first step. We can implement AtkText in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=626658

15 years agoStWidgetAccessible: accessibility support for StWidget
Alejandro Piñeiro [Tue, 4 Jan 2011 12:14:15 +0000 (13:14 +0100)]
StWidgetAccessible: accessibility support for StWidget

It includes:

 * Expose a proper focusable state, instead of the default one from
   cally, using StWidget::can_focus, and also notifying the state change

 * Management of the selected stated, using the current pseudo_class.

 * Defines a new virtual method on StWidget: get_accessible_type. In
   this way it is not required to reimplement get_accessible just for
   a accessible type change. get_accessible is reimplemented using this.
   You can see that as a substitute of the atk object factory

https://bugzilla.gnome.org/show_bug.cgi?id=636716

15 years agoAdded a11y initialization code
Alejandro Piñeiro [Mon, 3 Jan 2011 23:42:38 +0000 (00:42 +0100)]
Added a11y initialization code

This basically:
  * Checks a11y configuration properties
  * Checks if clutter has a11y enabled
  * Loads atk-bridge

It also ensure proper NO_GAIL and NO_AT_BRIDGE values on gnome-shell
startup script

https://bugzilla.gnome.org/show_bug.cgi?id=612599

15 years agoXDND: Don't reset switch timeout when pointer is over the same window
Adel Gadllah [Fri, 7 Jan 2011 10:12:00 +0000 (11:12 +0100)]
XDND: Don't reset switch timeout when pointer is over the same window

Currently we reset the timeout on every mouse movement which means
the user has to keep the mouse at the exact same position for 1.25
seconds.

Be more tolerant and allow the user to move the mouse over the
window without reseting the timeout, which should make activating
windows easier.

https://bugzilla.gnome.org/show_bug.cgi?id=638896

15 years agoUpdated Arabic translation
Khaled Hosny [Wed, 19 Jan 2011 20:47:57 +0000 (22:47 +0200)]
Updated Arabic translation

15 years agoUpdated Arabic translation
Khaled Hosny [Wed, 19 Jan 2011 20:38:30 +0000 (22:38 +0200)]
Updated Arabic translation

15 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 19 Jan 2011 19:27:21 +0000 (20:27 +0100)]
Updated Spanish translation

15 years agoHard code Cantarell as the default UI font.
Owen W. Taylor [Tue, 14 Dec 2010 01:50:19 +0000 (02:50 +0100)]
Hard code Cantarell as the default UI font.

- specify an overall font-family for all children of the stage and
  for places where we just want to use a size, use font-size.
- also shrink the humongous 16px panel and menu size to a reasonable 14.
- scale up the icons to be 16px by default again

Based on a patch by Jakub Steiner <jimmac@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=634226

15 years agoStIcon: round icon size to an integer
Owen W. Taylor [Wed, 19 Jan 2011 16:34:10 +0000 (11:34 -0500)]
StIcon: round icon size to an integer

Instead of converting a CSS-specified length to an integer by truncation,
round. This means that sizes specified by converting a pixel value into
non-px terms will work reliably instead of potentially being off-by-one.

15 years agonotification: be compatible with various names of the icon data hint
Cosimo Cecchi [Wed, 19 Jan 2011 15:30:01 +0000 (16:30 +0100)]
notification: be compatible with various names of the icon data hint

The hint changed its name during various iterations of the
notification daemon spec; be compatible with all of them.

https://bugzilla.gnome.org/show_bug.cgi?id=639959

15 years agotexture-cache: add a missing array annotation
Cosimo Cecchi [Wed, 19 Jan 2011 15:38:10 +0000 (16:38 +0100)]
texture-cache: add a missing array annotation

15 years agoUpdated Galician translations
Fran Diéguez [Wed, 19 Jan 2011 14:01:58 +0000 (15:01 +0100)]
Updated Galician translations

15 years agoutil: Fix regex used to match for URLs
Maxim Ermilov [Wed, 19 Jan 2011 02:06:53 +0000 (05:06 +0300)]
util: Fix regex used to match for URLs

Commit a65a0f03d49 changed the literal RegExp to a string-based
RegExp(). As backslashes are treated specially inside strings,
translating an expression as /\s/ to '\s' results in a faulty
regex of /s/, so escape backslashes where necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=639914

15 years agoDon't reset y position of expanded notifications when updating them
Marina Zhurakhinskaya [Thu, 13 Jan 2011 01:05:36 +0000 (20:05 -0500)]
Don't reset y position of expanded notifications when updating them

This fixes the problem of chat notifications collapsing and then expanding
again when receiving multiple messages in the expanded new notification.

https://bugzilla.gnome.org/show_bug.cgi?id=629557

15 years agowindowManager: Skip disposed windows in _switchWorkspaceDone
Adel Gadllah [Tue, 18 Jan 2011 18:25:00 +0000 (19:25 +0100)]
windowManager: Skip disposed windows in _switchWorkspaceDone

Avoid reparenting already disposed windows.

https://bugzilla.gnome.org/show_bug.cgi?id=639853